﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Editorial/Approver/MasterPage_Approver.master" AutoEventWireup="true" CodeBehind="NewsApproval.aspx.cs" Inherits="Ones.Editorial.Approver.NewsApproval" %>

<%--<%@ Register Assembly="Telerik.Web.UI" Namespace="Telerik.Web.UI" TagPrefix="telerik" %>--%>

<asp:Content ID="Content1" ContentPlaceHolderID="cphHead" runat="server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="cphMain" runat="server">
    <div class="row">
        <div class="col-md-12">
            <div class="alert alert-block alert-success fade in" id="successfulMsg" runat="server">
                <button type="button" class="close close-sm" data-dismiss="alert">
                    <i class="icon-remove"></i>
                </button>
                <strong>News is edited successfully !</strong> Go back to <a href="NewsDisplay.aspx">
                    News Display</a> for more details.
            </div>
            <div class="alert alert-block alert-danger fade in" id="failMsg" runat="server">
                <button type="button" class="close close-sm" data-dismiss="alert">
                    <i class="icon-remove"></i>
                </button>
                <strong>News cannot be edited !</strong> Please check the content.
            </div>
            <h2 class="page-title">
                News Editor
            </h2>
        </div>
    </div>
    <div class="row">
        <div class="col-md-12">
            <div class="widget">
                <div class="widget-header">
                    <div class="widget-header">
                        <i class="icon-file-alt"></i>
                        <h3>
                            News Review
                        </h3>
                    </div>
                </div>
                <div class="widget-content">
                    <ul class="nav nav-tabs" id="myTab">
                    </ul>
                    <div class="tab-content" id="myTabContent">
                        <div id="tabCompose" class="tab-pane fade active in">
                            <form id="frmAds" method="post" class="form-horizontal validate-needed-form required">
                            <fieldset>
                                <legend class="section">
                                    <div id="divCategory" runat="server">
                                        <b>
                                            <label id="lblCategory" runat="server">
                                            </label>
                                        </b>
                                    </div>
                                </legend>
                                <!--Title Control Group-->
                                <div class="control-group">
                                    <div id="divTitle" runat="server">
                                        <b><font color="blue">
                                            <label id="lblTitle" runat="server">
                                            </label>
                                        </font></b>
                                    </div>
                                    <div id="divTime" runat="server">
                                        <label id="lblTime" runat="server">
                                        </label>
                                    </div>
                                    <div id="divIntro" runat="server">
                                        <i>
                                            <label id="lblIntro" runat="server">
                                            </label>
                                        </i>
                                    </div>
                                    <div class="control-group">
                                        <div id="divImage" runat="server" />
                                    </div>
                                    <div id="divContent" runat="server" />
                                    <div id="divComment" runat="server">
                                        <input id="txtCommet" class="form-control parsley-validated" type="text" name="Comment"
                                            required="" runat="server">
                                    </div>
                                </div>
                            </fieldset>
                            </form>
                        </div>                        
                    </div>
                    <!--Post-Cancel-->
                    <div class="form-actions">
                        <div class="col-md-9">
                            <asp:LinkButton ID="btnAApproveNews" class="btn btn-success" runat="server" Text="Publish"
                                CommandName="cmdApprove" OnCommand="NewsUpdate_Confirm" />
                            <asp:LinkButton ID="btnAUnpublish" class="btn btn-success" runat="server" Text="Unpublish"
                                CommandName="cmdUnpublish" OnCommand="NewsUpdate_Confirm" />
                            <asp:LinkButton ID="btnAReject" class="btn btn-success" runat="server" Text="Reject"
                                CommandName="cmdRejectA" OnCommand="NewsUpdate_Confirm" />
                            <asp:LinkButton ID="btnCancel" class="btn btn-default" runat="server" Text="Cancel"
                                CommandName="cmdCancel" OnCommand="NewsUpdate_Confirm" />
                        </div>
                        <div class="col-md-3">
                            <asp:LinkButton ID="btnARemove" class="btn btn-default" runat="server" Text="Remove"
                                CommandName="cmdRemove" OnCommand="NewsUpdate_Confirm" OnClientClick="return confirm('Are you sure you want to remove this news?');" />
                            <asp:CheckBox ID="ckboxARemovePer" runat="server" Text="permanently" />
                        </div>
                    </div>
                </div>
            </div>
        </div>
    </div>
</asp:Content>
<asp:Content ID="Content3" ContentPlaceHolderID="cphScript" runat="server">
</asp:Content>
